using System;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;


namespace Frame.Core.Models.Dto
{

	[Table(DisableSyncStructure = true)]
	public class OnlinesDto
	{

		/// <summary>
		/// ID
		/// </summary>
		[JsonProperty]
		public int ID { get; set; }

		/// <summary>
		/// 用户id
		/// </summary>
		[JsonProperty]
		public int UserID { get; set; }

		/// <summary>
		/// IP地址
		/// </summary>
		[JsonProperty]
		public string IPAdddress { get; set; }

		/// <summary>
		/// 登陆时间
		/// </summary>
		[JsonProperty]
		public DateTime LoginTime { get; set; }

		/// <summary>
		/// 最后一次使用时间
		/// </summary>
		[JsonProperty]
		public DateTime? UpdateTime { get; set; }

		[JsonProperty]
		public  string UsersName { get; set; }
		[JsonProperty]
		public string UsersChineseName { get; set; }

	}

}
